import Vue from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'//全局element-ui
import 'element-ui/lib/theme-chalk/index.css'
import axios from 'axios'//全局axios
import VueAxios from 'vue-axios'
import qs from 'qs'
import BaiduMap from 'vue-baidu-map'



Vue.use(VueAxios, axios)
Vue.use(ElementUI)
Vue.prototype.$qs=qs;
Vue.config.productionTip = false;
Vue.use(BaiduMap, {
  ak: 'http://api.map.baidu.com/api?v=2.0&ak=qABoTzs1IcYy5OKoGGL66ejjhIv7avoM'
});


new Vue({
  router,
  store,
  render: h => h(App) 
}).$mount('#app')

